package arcturus;

import java.applet.Applet;
import java.util.concurrent.Executor;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.ThreadPoolExecutor;


import javax.swing.JApplet;
import acm.*;
import acm.program.GraphicsProgram;


public class Game extends GraphicsProgram{
	public static final int APPLICATION_WIDTH = 1200;
	public static final int APPLICATION_HEIGHT = 600;
		
	private static final int WIDTH = 1200;
	private static final int HEIGHT = 600;
	
	public GameLogic logic;
	
	
	
	
	//====================================
	//====================================
	//====================================
	
	//====================================
	//====================================
	
	//====================================
	//====================================
	//====================================
	public static void main(String[] args) {
		
		Game g = new Game();
		//g.getJMenuBar()		
		g.logic = new GameLogic(g);
		ExecutorService logicexe = Executors.newCachedThreadPool();
		logicexe.execute(g.logic);
		
		g.start(args);
		g.getGCanvas().requestFocus();
		
	}
	//====================================
		//====================================
		//====================================
	
	//====================================
		//====================================
		//====================================

	
}
